Skip to content

查询会员卡模板信息

通过此接口可查询指定会员卡模板的所有信息 官方文档

js
wxpay
.
v3
.
marketing
.
membercardOpen
.
cards
.
_card_id_
.
get
({
card_id
,
}) .
then
(
({
data
: {
card_id
,
create_time
,
update_time
,
remain_quantity
,
status
,
brand
,
appid
,
logo_url
,
title
,
background_picture_url
,
description
,
service_phone
,
code_type
,
total_quantity
,
date_information
,
code_mode
,
need_display_level
,
init_level
,
out_request_no
,
balance_information
,
user_information_form
,
additional_statement
,
}, }) => ({
card_id
,
create_time
,
update_time
,
remain_quantity
,
status
,
brand
,
appid
,
logo_url
,
title
,
background_picture_url
,
description
,
service_phone
,
code_type
,
total_quantity
,
date_information
,
code_mode
,
need_display_level
,
init_level
,
out_request_no
,
balance_information
,
user_information_form
,
additional_statement
,
}) )

修改会员卡模板信息

通过此接口可更新会员卡的信息,包括基本信息、储值信息、开卡信息、补充说明 官方文档

js
wxpay
.
v3
.
marketing
.
membercardOpen
.
cards
.
_card_id_
.
patch
({
appid
,
logo_url
,
title
,
background_picture_url
,
description
,
service_phone
,
total_quantity
,
date_information
,
need_display_level
,
init_level
,
balance_information
,
user_information_form
,
additional_statement
,
}, {
card_id
, })
.
then
(({
status
}) =>
status
=== 204)

删除会员卡模板

商户可调用此api删除会员卡。删除后,商家将无法通过任何渠道再投放该会员卡。 官方文档

js
wxpay
.
v3
.
marketing
.
membercardOpen
.
cards
.
_card_id_
.
delete
({}, {
card_id
, })
.
then
(({
status
}) =>
status
=== 204)

Released under the MIT License. (SITEMAP)